<%@page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>

<%@taglib prefix="jstl" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@taglib prefix="security"
	uri="http://www.springframework.org/security/tags"%>
<%@taglib prefix="display" uri="http://displaytag.sf.net"%>
<%@taglib prefix="acme" tagdir="/WEB-INF/tags"%>

<display:table pagesize="5" class="displaytag" keepStatus="true"
	name="orders" requestURI="${requestURI}" id="row">

	<spring:message code="order.creationMoment" var="creationMomentHeader" />
	<display:column property="creationMoment"
		title="${creationMomentHeader}" sortable="false"
		format="{0,date,dd/MM/yyyy HH:mm}" />

	<spring:message code="order.totalPrice" var="totalPriceHeader" />
	<display:column property="totalPrice" title="${totalPriceHeader}"
		sortable="false" />
	
		<display:column>
			<a href="order/customer/view.do?orderId=${row.id}"><spring:message
					code="order.view" /></a>
		</display:column>
		
</display:table>

<acme:cancel code="order.goBack" url="${backURI}" />


